package com.ds.lens.data.common.query.es;

public class TermFunction implements TranslateFunction {
    public static final String NAME = "term";
    @Override
    public void apply(Appendable appender, String... input) throws Exception {
        appender.append(input[0])
                .append("=")
                .append(NAME)
                .append("(")
                .append(input[1])
                .append(")");
    }
}
